package com.jason.service;

import com.jason.model.entity.User;

import java.util.Map;

public interface UserService {
    /**
     * 新增用户
     * @param userInfo
     * @return
     */
    int save(Map<String,String> userInfo);

    String findByPhoneAndPwd(String phone, String pwd);

    User findByUserId(Integer userId);

//    User findByPhone(@Param("phone") String phone);
}
